github.com/gotd/td/telegram.Client.session (field)
19 uses
github.com/gotd/td/telegram (current package)
client.go#L119: session *pool.SyncSession
client.go#L257: session: pool.NewSyncSession(pool.Session{
conn_builder.go#L124: opts, s := c.session.Options(c.opts)
download.go#L134: if c.downloadSchedulers == nil || c.session == nil {
download.go#L137: return d.WithScheduler(c.DownloadScheduler(c.session.Load().DC))
logout.go#L64: if c.session != nil {
logout.go#L65: home = c.session.Load().DC
migrate_to_dc.go#L52: s := c.session.Load()
migrate_to_dc.go#L68: from := c.session.Load().DC
migrate_to_dc.go#L74: c.session.Migrate(dcID)
pfs.go#L20: dc := c.session.Load().DC
pfs.go#L24: c.session.Store(pool.Session{DC: dc})
pool.go#L47: return c.primaryPool(c.session.Load().DC, max, nil)
pool.go#L91: return mode != manager.ConnModeCDN && c.session.Load().DC == dcID
pool.go#L168: c.session.Load().DC != dcID &&
session.go#L33: prev := c.session.Load()
session.go#L54: c.session.Store(pool.Session{
session.go#L356: primaryDC := c.session.Load().DC
session.go#L363: c.session.Store(sessionData)
![]() |
The pages are generated with Golds v0.8.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |